package com.zhouxiaoge.职责链模式.two;

/**
 * @author 周小哥 gqzmy@163.com 2022/10/8 13:54
 */

public class Father extends Handler {
    public Father(int level) {
        super(level);
    }

    @Override
    public void response(IWomen iWomen) {
        System.out.println("--------女儿向父亲请示-------");
        System.out.println(iWomen.getRequest());
        System.out.println("父亲的答复是:同意\n");
    }
}
